<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>

<body>
    <form action="./indexok.html">
        文本框 <input type="text" name="username" value="">
               <input type="submit" value="提交">
               <input type="reset" name=""><br>
        密码框<input type="password" name="username">
              <input type="submit" value="提交">
              <input type="reset" name=""><br>

        <br><br>
        <!--
            checked 将按钮设置为默认选中

         -->
        单选 <input type="radio" name="yes"  value="A" checked>
             <input type="radio" name="yes" value="B"><br>
        多选<input type="checkbox" name="yes" value="A" checked>
            <input type="checkbox" name="yes" value="B"> 
            <input type="checkbox" name="yes" value="C"> 
            <input type="checkbox" name="yes" value="D"> <br>
        下拉列表
        <!--
            selected 设定某个为默认选项
        -->
        <select name="haha" >
            <option selected value="1">项目一</option>
            <option value="2">项目二</option>
            <option value="3">项目三</option>
            <option value="4">项目四</option>
            
        </select>








    </form>
</body>

</html>